﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace simpleHotel.Client.Common
{
    public class ProcessController
    {
        private bool _flag;
        private Point _position;
        private Size _widthHeight;

        public ProcessController()
        {
            this._flag = false;
            this._position = Point.Empty;
            this._widthHeight = Size.Empty;
        }

        public ProcessController(Point pos, Size widHei)
        {
            this._flag = false;
            this._position = pos;
            this._widthHeight = widHei;
        }

        public void EndProcessing()
        {
            this._flag = true;
        }

        public bool GetStatus()
        {
            return this._flag;
        }

        public Size GetWidthHeight()
        {
            return this._widthHeight;
        }

        public Point GetPosition()
        {
            return this._position;
        }
    }
}
